﻿using Newtonsoft.Json;

namespace DataObject
{
    public class VietIDObject
    {
        public static ReturnMingUser ConvertMingJson(string result)
        {
            return JsonConvert.DeserializeObject<ReturnMingUser>(result);
        }
    }

    public class ReturnMingUser
    {
        public ReturnUser user;
    }

    public class ReturnUser
    {
        public int id;
        public string username;
        public string email;
        public string avatar;
        public string birthday;
        public string full_name;
        public int gender;
        public int level;
        public string last_login;
        public string join_time;
        public string modified_time;
        public string convert_from;
        public string old_last_login;
        public int status;
        public int round;
        public int memberId;
    }
}
